package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Jisuanqi {
    String brand;//默认是null

    public int add(int a,int b){
        System.out.println(brand+"的计算器在做加法");
        int c=a+b;
        //int k;
        //System.out.println(k);
        return c;
    }
    public double add(double  c,double d){
        System.out.println(this.brand+"的计算器在做加法");
        double brand=c+d;
        return brand;
    }
    public int mul(int a,int b){
        int d=a*b;
        //>>System.out.println(c);
        return d;
    }

}
